<div id="<?php echo $tab['id'] ?>">
    <table width="100%" id="ajaxTable">
        <thead id="pagination">
            <?php
            $cols = array();
            $cols[] = array('width' => "33%", 'text' => "Player", 'sort' => "name");
            $cols[] = array('width' => "", 'text' => "Status", 'sort' => "status");
            $cols[] = array('width' => "", 'text' => "", 'sort' => "");
            include_partial('template/pagination_th', array('cols' => $cols, 'tab' => $tab, 'url_for' => $url_for, 'get' => 'playerPage'));
            ?>
        </thead>
        <tfoot>
            <tr>
                <th class="ui-state-default ui-corner-bottom" colspan="3" id="ajaxPagination">
                     <?php if (isset($tab['pager']) && $tab['pager']->haveToPaginate())
                    {
                        include_partial('template/pagination', array('cols' => $cols, 'tab' => $tab, 'url_for' => $url_for, 'get' => 'playerPage'));
                    }
                    ?>
                </th>
            </tr>
        </tfoot>
        <tbody>
            <?php
            foreach($tab['value'] as $value)
                include_partial('tab/player_tr', array('value' => $value));
            ?>
        </tbody>
    </table>
</div>